package thread;

/**
 * Created with IntelliJ IDEA.
 *
 * @ Title
 * @ Description:
 * @ Auther: 赵彦博
 * @ Date: 2022-12-02
 * @ Time: 16:20
 */
@SuppressWarnings({"all"})

class MyTread extends Thread {
    @Override
    public void run() {
        System.out.println("hello thread");
    }
}

// 最基本的创建线程的办法
public class Demo1 {
    public static void main(String[] args) {
        Thread t = new MyTread();
        t.start();
    }
}